import java.io.DataInputStream;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Scanner;

public class Main {
    public static final Scanner SCANNER = new Scanner(System.in);

    public static void main(String[] args) {
        System.out.println("123456");


        Main m = new Main();
        System.out.println(m.SCANNER);
        int n = Integer.valueOf(123);



//        Integer i3 = 1;
//        Integer i4 = 1;
//        System.out.println(i3 == i4);




        //System.out.println("******************");
        //System.out.println(Thread.currentThread().getName());
        //System.out.println("******************");

        //createRandomPassword();
        //formatData();

//        System.out.println((int)Math.random());
//
//        System.out.println((int)(Math.random()*10));
//
//        System.out.println(Main.class);


//        String str = "123456";
//        System.out.println(str.length());
//
//        boolean[] arr = new boolean[4];
//        System.out.println(arr[2]);

    }

    private static void formatData() {
        Date data = new Date();
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy年MM月dd日-EEEHH时:mm:ss");
        System.out.println(simpleDateFormat.format(data));
    }

    private static void createRandomPassword() {
        //随机生成长度为length的密码
        System.out.println("随即生成一个密码,请输入密码的长度：");
        char[] chars = new char[SCANNER.nextInt()];
        String s = "123456789";
        for (int i = 0; i < chars.length; i++) {
            chars[i] = s.charAt((int) (Math.random() * s.length()));//s.length 就是9 也就剩随机生成一个 index = 1 - 8 的数
        }
        System.out.println(chars);

    }
}
